Represents an asset's lower limit, below which a transfer is deemed not sufficient for account registration. This struct must contain either of these options:

  • id
  • name and blockchain_rid

If id and name are missing or both present, functions using this struct will consider it invalid.

If this value is being parsed from a GTV and name is present instead of id, blockchain_rid is optional. If missing, its value will be this chain's RID.

struct asset_limit {

The ID of the asset

id: byte_array? = null;

The RID of the chain that issues the asset. When parsing from the chromia.yml or GTV format, it is interpreted as this chain if null unless id is present.

issuing_blockchain_rid: byte_array? = null;

The name of the asset

name: text? = null;

The minimum amount of this asset that should be transferred

min_amount: big_integer;
}
© 2024 Chromia